package crm.daoInterfaces;

import java.sql.Date;

import crm.model.Campaign;



public interface CampaignDao 
{
	public void add(Campaign camp) throws Exception;
	public void update(Campaign camp) throws Exception;
	public void delete(Campaign camp)throws Exception;
	public Campaign retrieve(String conditionField,String conditionValue)throws Exception;
	public Campaign[] retrieveArray(String conditionField,String conditionValue)throws Exception;
	public Campaign[] retrieveAll()throws Exception;
	public Campaign[] retriveOnMultipleCondition(Date start,Date end,String createdBy,String status)throws Exception;
	public int getAutoGenratedKey(); 
}
